package com.grm.juc.j01_xianchengjichu;

/**
 * desc: 创建线程方式2_实现Runnable接口
 *
 * @author gaorimao
 * @since 2022-09-01 10:50:00
 */
public class MyRunnable{
    public static void main(String[] args) {
        new Thread(() -> {
            String threadName = Thread.currentThread().getName();
            System.out.println(threadName);
        }).start();
    }
}
